﻿namespace FlowServe
{
    public class ResponseData
    {
        /// <summary>
        /// 自定义响应码
        /// </summary>
        public int? StatusCode { get; set; }
        /// <summary>
        /// 请求正确时的数据
        /// </summary>
        public object? Data { get; set; }
        /// <summary>
        /// 错误信息
        /// </summary>
        public string? Error { get; set; }
        /// <summary>
        /// 响应的时间
        /// </summary>
        public long Timestamp { get; set; } = DateTime.Now.Ticks;
        /// <summary>
        /// 额外的信息
        /// </summary>
        public string? info { get; set; }
    }
}
